﻿namespace Traffic.Entity;

/// <summary>
/// 部门表
/// </summary>
public partial class BusinessDepart
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID，对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string DepartName { get; set; } = null!;

    /// <summary>
    /// 状态  默认1：正常   0：停用
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 上级部门id
    /// </summary>
    public int ParentId { get; set; }

    /// <summary>
    /// 层级结构 （0.1.1）
    /// </summary>
    public string? DepartLevel { get; set; }
}
